Omnisend\SDK\V1\Contact C

Total Complexity 101
Dependencies 2
Dependents 6
Total lines 744
Lines of code 360
Logical lines of code 156
Comment lines 261
Methods 41
Properties 21

Methods 41

Method Rating Maintainability Complexity Lines of code
to_array_for_event()
B
36 19 89
to_array()
B
35 18 91
validate()
B
42 17 48
set_email()
S
73 3 5
add_tag()
S
66 3 9
set_id()
S
73 3 5
add_custom_property()
S
66 3 9
get_phone()
S
79 2 3
set_email_unsubscriber()
S
81 1 3
get_birthday()
S
82 1 3
set_welcome_email()
S
81 1 3
set_email_opt_in()
S
77 1 4
set_email_subscriber()
S
81 1 3
set_phone_unsubscriber()
S
81 1 3
get_email_status()
S
82 1 3
set_phone_opt_in()
S
77 1 4
set_phone_subscriber()
S
81 1 3
get_phone_status()
S
82 1 3
set_email_consent()
S
81 1 3
set_phone_consent()
S
81 1 3
get_custom_properties()
S
82 1 3
set_birthday()
S
81 1 3
set_postal_code()
S
81 1 3
set_phone()
S
81 1 3
get_last_name()
S
82 1 3
get_email()
S
82 1 3
set_gender()
S
81 1 3
get_gender()
S
82 1 3
set_first_name()
S
81 1 3
get_first_name()
S
82 1 3
set_last_name()
S
81 1 3
set_address()
S
81 1 3
get_postal_code()
S
82 1 3
get_address()
S
82 1 3
set_city()
S
81 1 3
get_city()
S
82 1 3
set_state()
S
81 1 3
get_state()
S
82 1 3
set_country()
S
81 1 3
get_country()
S
82 1 3
get_tags()
S
82 1 3